package com.server.questionbank.snframe.service.QuestionBank.Impl;

import com.server.questionbank.snframe.domain.Course.TCourse;
import com.server.questionbank.snframe.mapper.QuestionBank.CoursesMapper;
import com.server.questionbank.snframe.service.QuestionBank.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CoursesServiceImpl implements CourseService {
    @Autowired
    private CoursesMapper courseMapper;

    @Override
    public List<TCourse> getCourse() {
        return courseMapper.getCourse();
    }
}
